define(function(require, exports){
	// 代码中心
	exports.onMain = function(boot,data,app){

		var title = LANG('代码中心');

		var cont = app.getContainer({
			scenes: 'main',
			full: false,
			sitelist: false,
			setup_btn: false,
			title: title
		});

		app.core.get('SYS_PLATFORM').setPlatform(title);

		var mod = app.core.get(data.name);
		if (!mod){
			app.core.createAsync(data.name, 'admin/codeCenter/action/list.main', {
				'el': cont.getDOM()
			});
		}
	};
});